<?php
namespace app\backend\controller;

use app\backend\service\webSocketService;
use think\Controller;

class Index extends Controller {
    private $web_socket_service;

    public function __construct() {
        parent::__construct();
        $this->web_socket_service = new webSocketService();
    }

    public function index() {
        $this->web_socket_service->run();
    }
}
